﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace YouFood.DAL.BusinessObject
{
    public class ValidationResult
    {
        public BusinessObject SavedObject { get; set; }


        private List<string> _errors;

        public List<string> Errors 
        {
            get
            {
                if (_errors == null)
                {
                    _errors = new List<string>();
                }

                return _errors;
            }
        }
    }
}
